allot

fun allot(sharesRequested: Long, asofDate: Int): Long

Allocate the requested number of shares from the total amount, if possible.

Return

The actual number of shares that could be allotted from this buy transaction.

Parameters

sharesRequested

The number of shares requested to be allotted.

asofDate

The date of the allotment.